package com.xzj.admin.resource.analysis.mapper;

import com.xzj.admin.analysis.base.domain.ResMessageManage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: xzj-admin
 * @ClassName: ResMessageManageMapper
 * @description: 资源消息管理;(res_message_manage)表数据库访问层
 * @author: XiaZunJun
 * @create: 2024-11-20 15:34
 */
@Mapper
public interface ResMessageManageMapper {
    void batchInsertMessage(@Param("list") List<ResMessageManage> resMessageManages);

    void batchUpdateEdit(@Param("list") List<ResMessageManage> resMessageManages,@Param("message") ResMessageManage resMessageManage, @Param("middleIds") String middleIds);

    void batchUpdateDel(@Param("messageIds") String messageIds,@Param("message") ResMessageManage resMessageManage);

    /** 查询需要执行同步的数据 */
    List<ResMessageManage> queryExecuteMessage(ResMessageManage collectMiddleMessage);
}
